<template>
  <div>
    <el-dialog
      title="练习"
      :visible.sync="showDia"
      width="60%">
      <span>内容</span>
      <span slot="footer">
        <el-button @click="$emit('changeShow', false)">取消</el-button>
        <el-button type="primary">提交</el-button>
      </span>
    </el-dialog>
    
  </div>
</template>

<script>
  export default {
    name: 'dia',
    props: {
      showDia: {
        type: Boolean,
        default: false
      },
    },
  }
</script>

<style lang="scss" scoped>

</style>